<%-- 
    Document   : editUsuario
    Created on : 04-06-2010, 05:37:49 PM
    Author     : Eduardo Cerritos
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>EME:Cambiar Contrase&ntilde;a</title>
        <link href="../css/estilos.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <table  border="0" width="100%">
            <thead>
                <tr>
                    <th>
                        <center><h1><img src="../images/EME2.png" width="175px"></h1></center>
                    </th>
                    <th >
                          <center><h1><img src="../images/headers/admonUsuarios.png"></h1></center>
                    </th>

                </tr>
            </thead>
            <tbody>

                <tr>
                    <td width="200px" valign="top">
                        <div>
                            <jsp:include page="menu.jsp"/>
                        </div>

                    </td>
                    <td><center>
                            <form action="../resetClave" method="post" name="form1" onsubmit="return validaForm(this)">
                                <input type="hidden" name="user" value="<sec:authentication property="principal.username"/>"/>
                            <table>
                                <tbody>
                                    <tr>
                                        <td><label for="actpass">Contrase&ntilde;a actual:</label></td>
                                        <td><input name="actpass" type="password" onKeyUp="this.value=this.value.toUpperCase();"></td>
                                    </tr>
                                    <tr>
                                        <td><label for="newpass">Nueva contrase&ntilde;a:</label></td>
                                        <td><input name="newpass" type="password" onKeyUp="this.value=this.value.toUpperCase();"></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2"><button type="submit">Aceptar</button></td>
                                    </tr>
                                </tbody>
                            </table>
                            </form>
                            </center>
                    </td>
                </tr>
            </tbody>
        </table>
                                    <div align="left">
                                    <jsp:include page="barrausuario.jsp"/>
                                    </div>
    </body>
</html>
